/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nus.util.comparator;

import com.nus.dataaccess.dao.conference.ConferenceAuthor;
import java.util.Comparator;

/**
 *
 * @author robin.foe
 */
public class ConferenceAuthorScoreComparator implements Comparator<ConferenceAuthor>{

    @Override
    public int compare(ConferenceAuthor o1, ConferenceAuthor o2) {
        return o2.getAvgScore().compareTo(o1.getAvgScore());
    }
    
}
